package va.radiomaria.audio;

import java.io.File;
import java.io.FilenameFilter;

/**
 * This filter determines if a provided file's name ends with ".mp3".
 */
public class MusicFilenameFilter implements FilenameFilter{

	@Override
	public boolean accept(File dir, String name) {
		return name.contains(".mp3");
	}

}
